﻿namespace SharpF2.Components
{
	using System;
	using System.Windows.Controls;

	public class GridViewColumnExtension<ItemType> : GridViewColumn
	{
		#region Constructors

		public GridViewColumnExtension()
		{
			SetValue(WidthProperty, Double.NaN);
		}

		#endregion

		#region Public Properties

		public Comparison<ItemType> Compare { get; set; }
		public String PropertyName { get; set; }

		public Boolean Sortable { get; set; }

		#endregion
	}
}